//
//  myPresenter.h
//  MVPDemo
//
//  Created by mobao on 16/6/20.
//  Copyright © 2016年 mobao. All rights reserved.
//

#import "BasePresenter.h"
#import "ViewController.h"

//定义代理方法
//执行完，反馈给界面，传值给界面、或者使界面做出具体操作。
@protocol MyPresenterDelegate<NSObject>

- (void)logining:(NSString*)info;
- (void)loginSuccess:(NSString*)info;
- (void)loginFailure:(NSString*)info;

@end

@interface MyPresenter : BasePresenter

@property(nonatomic,weak)id<MyPresenterDelegate>myPresenterDelegate;//声明代理

-(void)loginWithAccount:(NSString*)accuout password:(NSString*)password;


@end
